package com.xulinhao.service;

import com.xulinhao.pojo.Cart;
import com.xulinhao.pojo.Order;
import com.xulinhao.pojo.OrderItem;

import java.util.List;

/**
 * @author xulinhao
 * @create 2021-06-02 15:55
 */
public interface OrderService {
    public String createOrder(Cart cart, Integer userId);//生成订单

    public List<Order> showAllOrders();//查询全部订单

    public void sendOrder(String orderId);//发货

    public List<OrderItem> showOrderDetail(String orderId);//查看订单详情

    public List<Order> showMyOrders(Integer userId);//查看我的订单

    public void receiverOrder(String orderId);//签收订单或确认收货




}
